package com.ddwl.schema.bo.data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @Author hemiaojun
 * @Date 2020/11/9 15:54
 */
@Getter
@Setter
@ApiModel("渠道配置是否有效bo")
public class ChannelConfigValidBo {

    @NotNull(message = "id不能为空")
    @ApiModelProperty("id")
    private String id;

    @NotNull(message = "是否有效不能为空")
    @ApiModelProperty("是否有效 0：是，1:否")
    private Integer valid;

}
